home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Multimedia / Movie3.0 / Source / xanim / xanim_set.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-03  |  1.5 KB  |  65 lines

  1.  
  2. /*
  3.  * xanim_set.h
  4.  *
  5.  * Copyright (C) 1992,1993,1994 by Mark Podlipec. 
  6.  * All rights reserved.
  7.  *
  8.  * This software may be freely copied, modified and redistributed without
  9.  * fee for non-commerical purposes provided that this copyright notice is
  10.  * preserved intact on all copies and modified copies.
  11.  * 
  12.  * There is no warranty or other guarantee of fitness of this software.
  13.  * It is provided solely "as is". The author(s) disclaim(s) all
  14.  * responsibility and liability with respect to this software's usage
  15.  * or its effect upon hardware or computer systems.
  16.  *
  17.  */
  18. /*********************************** X11 stuff */
  19. #if XWIN
  20. extern Display       *theDisp;
  21. extern Colormap      theCmap;
  22. extern Window        mainW;
  23. extern GC            theGC;
  24. extern XImage        *theImage;
  25. extern XColor         defs[256];
  26. #endif
  27.  
  28. typedef struct STRUCT_SET_FACE_HDR
  29. {
  30.   ULONG xsize,ysize;
  31.   LONG x,y;
  32.   LONG xoff,yoff;
  33.   XA_ACTION *face_act;
  34. } SET_FACE_HDR;
  35.  
  36. typedef struct STRUCT_SET_BACK_HDR
  37. {
  38.   ULONG num;
  39.   ULONG xsize,ysize;
  40.   ULONG xscreen,yscreen;
  41.   ULONG xpos,ypos;
  42.   XA_ACTION *back_act;
  43.   ULONG csize;
  44.   XA_CHDR *chdr;
  45.   struct STRUCT_SET_BACK_HDR *next;
  46. } SET_BACK_HDR;
  47.  
  48. typedef struct STRUCT_SET_SSET_HDR
  49. {
  50.   ULONG num;
  51.   ULONG face_num;
  52.   SET_FACE_HDR *faces;
  53.   struct STRUCT_SET_SSET_HDR *next;
  54. } SET_SSET_HDR;
  55.  
  56. typedef struct STRUCT_SET_FRAM_HDR
  57. {
  58.   ULONG time;
  59.   XA_ACTION *cm_act;
  60.   XA_ACTION *pms_act;
  61.   XA_ACTION *back_act;
  62.   XA_CHDR *cm_hdr;
  63.   ACT_SETTER_HDR *pms_hdr;
  64. } SET_FRAM_HDR;
  65.